package com.fortune.dao;

import com.fortune.entity.MRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MRoleMapper {
    int deleteByPrimaryKey(String id);

    int insert(MRole record);

    int insertSelective(MRole record);

    MRole selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(MRole record);

    int updateByPrimaryKey(MRole record);

    List<MRole> getAll();

    int countByName(@Param("name") String name, @Param("id") String id);

    List<MRole> getByIdList(@Param("idList") List<String> idList);
}